package mysql

import "gorm.io/gorm"

type GoodsYk struct {
	gorm.Model
	GoodsName   string  `gorm:"type:varchar(30);comment:商品名称;"`
	GoodsPrice  float64 `gorm:"type:decimal(10,2);comment:商品价格;"`
	GoodsAvatar string  `gorm:"type:varchar(255);comment:商品图片;"`
	GoodsStock  int     `gorm:"type:int(10);comment:商品库存;"`
	GoodsStatus int     `gorm:"type:int(10);comment:商品状态;"`
}
